home *** CD-ROM | disk | FTP | other *** search
- head 5.17;
- branch 5.17.0;
- access;
- symbols
- RELEASE:5.17.0.18
- BETA:5.17.0.16
- UICSO:5.17.0
- VANILLA:5.17;
- locks; strict;
- comment @ * @;
-
-
- 5.17
- date 90.06.20.08.35.32; author paul; state Exp;
- branches
- 5.17.0.1;
- next ;
-
- 5.17.0.1
- date 90.06.20.09.42.41; author paul; state Exp;
- branches;
- next 5.17.0.2;
-
- 5.17.0.2
- date 90.09.20.17.06.00; author paul; state Exp;
- branches;
- next 5.17.0.3;
-
- 5.17.0.3
- date 90.10.16.15.20.14; author paul; state Exp;
- branches;
- next 5.17.0.4;
-
- 5.17.0.4
- date 90.10.17.12.37.40; author paul; state Exp;
- branches;
- next 5.17.0.5;
-
- 5.17.0.5
- date 90.11.02.00.32.23; author paul; state Exp;
- branches;
- next 5.17.0.6;
-
- 5.17.0.6
- date 90.11.19.16.23.04; author paul; state Exp;
- branches;
- next 5.17.0.7;
-
- 5.17.0.7
- date 90.11.23.23.19.04; author paul; state Exp;
- branches;
- next 5.17.0.8;
-
- 5.17.0.8
- date 90.11.29.21.17.06; author paul; state Exp;
- branches;
- next 5.17.0.9;
-
- 5.17.0.9
- date 90.12.14.17.01.09; author paul; state Exp;
- branches;
- next 5.17.0.10;
-
- 5.17.0.10
- date 91.01.19.18.51.48; author paul; state Exp;
- branches;
- next 5.17.0.11;
-
- 5.17.0.11
- date 91.03.25.16.39.32; author paul; state Exp;
- branches;
- next 5.17.0.12;
-
- 5.17.0.12
- date 91.04.05.06.33.33; author paul; state Exp;
- branches;
- next 5.17.0.13;
-
- 5.17.0.13
- date 91.04.05.14.55.15; author paul; state Exp;
- branches;
- next 5.17.0.14;
-
- 5.17.0.14
- date 91.04.17.18.35.47; author paul; state Exp;
- branches;
- next 5.17.0.15;
-
- 5.17.0.15
- date 91.05.18.03.17.41; author paul; state Exp;
- branches;
- next 5.17.0.16;
-
- 5.17.0.16
- date 91.05.29.05.18.57; author paul; state Exp;
- branches;
- next 5.17.0.17;
-
- 5.17.0.17
- date 91.06.21.12.39.21; author paul; state Exp;
- branches;
- next 5.17.0.18;
-
- 5.17.0.18
- date 91.06.25.05.26.29; author paul; state Exp;
- branches;
- next 5.17.0.19;
-
- 5.17.0.19
- date 91.08.14.18.28.19; author paul; state Exp;
- branches;
- next 5.17.0.20;
-
- 5.17.0.20
- date 91.08.14.18.30.39; author paul; state Exp;
- branches;
- next ;
-
-
- desc
- @@
-
-
- 5.17
- log
- @5.64 Berkeley release
- @
- text
- @/*
- * Copyright (c) 1983 Eric P. Allman
- * Copyright (c) 1988 Regents of the University of California.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms are permitted provided
- * that: (1) source distributions retain this entire copyright notice and
- * comment, and (2) distributions including binaries display the following
- * acknowledgement: ``This product includes software developed by the
- * University of California, Berkeley and its contributors'' in the
- * documentation or other materials provided with the distribution and in
- * all advertising materials mentioning features or use of this software.
- * Neither the name of the University nor the names of its contributors may
- * be used to endorse or promote products derived from this software without
- * specific prior written permission.
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
- * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- *
- * @@(#)conf.h 5.17 (Berkeley) 6/1/90
- */
-
- /*
- ** CONF.H -- All user-configurable parameters for sendmail
- */
-
- /*
- ** Table sizes, etc....
- ** There shouldn't be much need to change these....
- */
-
- # define MAXLINE 1024 /* max line length */
- # define MAXNAME 256 /* max length of a name */
- # define MAXFIELD 4096 /* max total length of a hdr field */
- # define MAXPV 40 /* max # of parms to mailers */
- # define MAXHOP 17 /* max value of HopCount */
- # define MAXATOM 100 /* max atoms per address */
- # define MAXMAILERS 25 /* maximum mailers known to system */
- # define MAXRWSETS 30 /* max # of sets of rewriting rules */
- # define MAXPRIORITIES 25 /* max values for Precedence: field */
- # define MAXTRUST 30 /* maximum number of trusted users */
- # define MAXUSERENVIRON 40 /* max # of items in user environ */
- # define QUEUESIZE 600 /* max # of jobs per queue run */
- # define MAXMXHOSTS 10 /* max # of MX records */
-
- /*
- ** Compilation options.
- **
- ** #define these if they are available; comment them out otherwise.
- */
-
- # define DBM 1 /* use DBM library (requires -ldbm) */
- # define NDBM 1 /* new DBM library available (requires DBM) */
- # define LOG 1 /* enable logging */
- # define SMTP 1 /* enable user and server SMTP */
- # define QUEUE 1 /* enable queueing */
- # define UGLYUUCP 1 /* output ugly UUCP From lines */
- # define DAEMON 1 /* include the daemon (requires IPC & SMTP) */
- # define SETPROCTITLE 1 /* munge argv to display current status */
- # define NAMED_BIND 1 /* use Berkeley Internet Domain Server */
-
- /*
- * Use query type of ANY if possible (NO_WILDCARD_MX), which will
- * find types CNAME, A, and MX, and will cause all existing records
- * to be cached by our local server. If there is (might be) a
- * wildcard MX record in the local domain or its parents that are
- * searched, we can't use ANY; it would cause fully-qualified names
- * to match as names in a local domain.
- */
- # define NO_WILDCARD_MX 1
- @
-
-
- 5.17.0.1
- log
- @IDA patches
- @
- text
- @d37 1
- a37 1
- # define MAXATOM 200 /* max atoms per address */
- d39 1
- a39 1
- # define MAXRWSETS 31 /* max # of sets of rewriting rules */
- a53 2
- /* # define SDBM 1 /* Ozan Yigit's PD ndbm (requires DBM) */
- /* # define YP 1 /* enable Yellow Pages code */
- a60 1
- # define OUTPUT_PID 1 /* Write the daemon PID to PidFile (conf.c) */
- a70 7
-
- /*
- ** This isn't defined under SunOS 3.5
- */
- #ifndef EX_CONFIG
- # define EX_CONFIG 78
- #endif EX_CONFIG
- @
-
-
- 5.17.0.2
- log
- @First revisions to support HEAD and MULT extensions to SMTP for DEC's
- mail11v3 program.
-
- @
- text
- @a60 1
- # define MAIL11V3 1 /* enable non-standard SMTP mods for DECnet */
- @
-
-
- 5.17.0.3
- log
- @Added GDBM support. Added #define VSPRINT if vsprintf.o is available
- (libc.a or whatever), #define SHARE for the Convex share scheduler,
- #define SYSTEM5 for System 5 like machines (hp-ux, etc).
- @
- text
- @d52 1
- a52 3
- # define VMUNIX 1 /* running on systems w. 4.2/4.3 networking */
- # define DBM 1 /* use DBM library (may require -ldbm) */
- /* define only 1 of the various {N,G,S,M}DBM libraries */
- d54 2
- a55 4
- /*# define GDBM 1 /* gnu DBM library available (requires DBM) */
- /*# define SDBM 1 /* Ozan Yigit's PD ndbm (requires DBM) */
- /*# define MDBM 1 /* UMaryland's ndbm variant (requires DBM) */
- /*# define YP 1 /* enable Yellow Pages code */
- d61 1
- a61 1
- /*# define MAIL11V3 1 /* enable non-standard SMTP mods for DECnet */
- a64 4
- # define SIG_TYPE int /* SUN's signal() returns void type */
- # define VSPRINTF 1 /* have vsprintf() in /lib/libc.a */
- /*# define SHARE 1 /* Convex share scheduler */
- /*# define SYSTEM5 1 /* running on a system 5 system */
- d75 7
- @
-
-
- 5.17.0.4
- log
- @Added #ifdef/#define FUZZY to control whether fuzzy matching of local
- @
- text
- @a59 1
- # define FUZZY 1 /* enable fuzzy matching of local user names */
- @
-
-
- 5.17.0.5
- log
- @Save the values of the '$r' and '$s' macros in the queueing file. Since
- some parts of the parsing depend on these (and have since IDA-1.2.x),
- this just makes the rewrite rules more consistent between items that are
- immediately deliverable and items that must be queued for later. I made
- the character that marks the queueing record part of the '#define' so it can
- be changed if some future changes from Berkeley should ever cause a conflict.
-
- Neil Rickert (rickert@@cs.niu.edu)
- @
- text
- @a63 1
- # define QUEUE_MACVALUE '$' /* save the $r and $s macros in queue file */
- @
-
-
- 5.17.0.6
- log
- @Replace #ifdef SYSTEM5 with SYSV.
- @
- text
- @d74 1
- a74 1
- /*# define SYSV 1 /* running on a system 5 system */
- @
-
-
- 5.17.0.7
- log
- @Disable FUZZY address matching in distribution.
- @
- text
- @d60 1
- a60 1
- /*# define FUZZY 1 /* enable fuzzy matching of local user names */
- d76 8
- a83 8
- /*
- ** Use query type of ANY if possible (NO_WILDCARD_MX), which will
- ** find types CNAME, A, and MX, and will cause all existing records
- ** to be cached by our local server. If there is (might be) a
- ** wildcard MX record in the local domain or its parents that are
- ** searched, we can't use ANY; it would cause fully-qualified names
- ** to match as names in a local domain.
- */
- @
-
-
- 5.17.0.8
- log
- @Deleted #ifdef/#define OUTPUT_PID in favor of testing whether _PATH_SENDMAILPID
- is set. sendmail.h now #include's pathnames.h instead of the other
- modules.
- @
- text
- @d70 1
- @
-
-
- 5.17.0.9
- log
- @pathnames.h absorbed into conf.h as compilation of some code sections is
- dependent on whether some paths are defined.
- @
- text
- @a83 22
-
- /*
- ** Change this to the location where sendmail should read its configuration
- ** file. Older systems used /usr/lib/sendmail.cf, some newer systems move
- ** this file to /etc/sendmail.cf.
- */
- # define _PATH_SENDMAILCF "/etc/sendmail.cf"
-
- /*
- ** Comment out the following line if freeze files don't work on your platform.
- ** Freeze files will not work on the Next, nor under AIX 3.1 unless both
- ** malloc.c and getpwent.c are compiled with the sendmail source.
- */
- # if !defined(NeXT) && !defined(_AIX) && !defined(apollo)
- # define _PATH_SENDMAILFC "/etc/sendmail.fc"
- # endif /* !NeXT && !_AIX && !apollo */
-
- /*
- ** Comment out this line if you don't want sendmail to write a file with
- ** the daemon's pid.
- */
- # define _PATH_SENDMAILPID "/etc/sendmail.pid"
- @
-
-
- 5.17.0.10
- log
- @Changed SIG_TYPE to void for 4.3 BSD-reno. PID file now written to
- /var/run/sendmail.pid .
- @
- text
- @d70 1
- a70 1
- # define SIG_TYPE void /* SUN's signal() returns void type */
- d105 1
- a105 1
- # define _PATH_SENDMAILPID "/var/run/sendmail.pid"
- @
-
-
- 5.17.0.11
- log
- @Removed #define NO_WILDCARD_MX. This option is too dangerous for the minor
- performance gain obtained.
- @
- text
- @d76 10
- @
-
-
- 5.17.0.12
- log
- @Character set translation changes adapted from patches from Keld Simonsen
- (keld@@dkuug.dk).
- @
- text
- @a73 2
- #define BIT8 1 /* support character set translation and */
- /* 8bit mailers. See ../ida/charset */
- @
-
-
- 5.17.0.13
- log
- @Added RCS ID string
- @
- text
- @a20 1
- * @@(#)$Id$
- @
-
-
- 5.17.0.14
- log
- @Lifted AIX sendmail.fc restriction.
- @
- text
- @d21 1
- a21 1
- * @@(#)$Id: conf.h,v 5.17.0.13 1991/04/05 14:55:15 paul Exp paul $
- d87 2
- a88 2
- ** Freeze files will not work on the Next (no sbrk()), nor Apollo boxes.
- ** Fixes for the latter are solicted. The AIX restriction has been lifted.
- d90 1
- a90 1
- # if !defined(NeXT) && !defined(apollo)
- d92 1
- a92 1
- # endif /* !NeXT && !apollo */
- @
-
-
- 5.17.0.15
- log
- @Moved platform-specific changes to config/osname.h. Increased number
- of rulesets to 40.
- @
- text
- @d21 1
- a23 7
- #ifndef lint
- # ifdef _DEFINE
- static char *conf_h_sccs_id = "@@(#)conf.h 5.17 (Berkeley) 6/1/90 %I% local";
- static char *conf_h_rcs_id = "@@(#)$Id$";
- # endif /* _DEFINE */
- #endif /* !lint */
-
- d25 1
- a25 1
- ** CONF.H -- User-configurable parameters for sendmail
- d40 1
- a40 1
- # define MAXRWSETS 40 /* max # of sets of rewriting rules */
- a47 9
- ** Compilation platform. Include one from the following list:
- **
- ** aix3.h bsd43.h bsd44.h convex.h domainos.h dynix.h irix.h
- ** next.h osx.h riscos.h sunos4.h ultrix3.h ultrix4.h
- */
-
- # include "config/bsd44.h"
-
- /*
- d53 1
- a54 1
-
- a59 1
-
- d71 5
- a75 2
- /*# define TTYNAME 1 /* set macro y to basename of tty device */
- /*# define BIT8 1 /* support character set translation and */
- d83 1
- a83 1
- # define _PATH_SENDMAILCF "/etc/sendmail.cf" /* */
- d91 1
- a91 1
- # define _PATH_SENDMAILFC "/etc/sendmail.fc" /* */
- d98 1
- a98 16
- # define _PATH_SENDMAILPID "/var/run/sendmail.pid" /* */
- /*# define _PATH_SENDMAILPID "/etc/sendmail.pid" /* */
-
- /*
- ** Various hardware/OS #defines are used in the code. Most of these
- ** are typically set by the C preprocessor or compiler. In some cases
- ** you may need to #define some of these here, or use a -D CFLAGS argument
- ** in the Makefile. Many are used only in the getloadavg.c file. These
- ** are the macros currently in use:
- **
- ** alliant apollo __convex__
- ** CRAY CRAY2 hp9000
- ** hpux mips sequent
- ** sgi sun unixpc
- ** UTEK
- */
- @
-
-
- 5.17.0.16
- log
- @*** empty log message ***
- @
- text
- @d23 2
- a24 4
- #ifndef CONF_H
- # define CONF_H
- # ifndef lint
- # ifdef _DEFINE
- d26 3
- a28 3
- static char *conf_h_rcs_id = "@@(#)$Id: conf.h,v 5.17.0.15 1991/05/18 03:17:41 paul Exp paul $";
- # endif /* _DEFINE */
- # endif /* !lint */
- d57 1
- a57 2
- ** isc.h next.h osx.h ptx.h riscos.h sunos4.h ultrix3.h ultrix4.h
- ** umax.h
- d87 1
- a89 2
- /*# define TTYNAME 1 /* set macro y to basename of tty device */
- /*# define NOTUNIX 1 /* Define if msgs lack a UNIX "From " line */
- d103 1
- a103 1
- # if !defined(NeXT) && !defined(apollo) && !defined(ISC)
- d105 1
- a105 1
- # endif /* !NeXT && !apollo && !ISC */
- d123 3
- a125 3
- ** hpux ISC mips
- ** sequent sgi sun
- ** unixpc UTEK
- a126 1
- #endif /* !CONF_H */
- @
-
-
- 5.17.0.17
- log
- @Upped MAXHOP to 25, added NO_PADDING to create dbm files w.o. trailing null
- (from Bruce Lilly), expanded comments.
- @
- text
- @d27 2
- a28 2
- static char *conf_h_sccs_id = "@@(#)conf.h 5.17 (Berkeley) 6/1/90";
- static char *conf_h_rcs_id = "@@(#)$Id: conf.h,v 5.17.0.17 1991/06/02 03:42:33 paul Exp $";
- d45 1
- a45 1
- # define MAXHOP 25 /* max value of HopCount */
- d58 3
- a60 3
- ** 3b1.h aix3.h aixrt.h bsd43.h bsd44.h convex.h domainos.h dynix.h hpux.h
- ** irix.h isc.h next.h osx.h proto.h ptx.h riscos.h sunos4.h ultrix3.h
- ** ultrix4.h umax.h
- a71 1
- # define NO_PADDING 1 /* don't pad dbm strings with ASCII NULL */
- d87 2
- d90 2
- a95 23
- * Enable non-standard SMTP mods for talking to the DEC mail11v3 program.
- * This option is necessary only on Ultrix machines that wish to act as
- * Internet <=> Decnet mail gateways. DECNETNAME must also be defined
- * in your ida/cf/foo.m4 file to include the Decnet rulesets in the sendmail.cf
- * file.
- */
- /*# define MAIL11V3 1 /* */
-
- /*
- * Munge argv to display current status for ps. This will not work on systems
- * derived from System 5. On some systems such as Apollos, it will cause core
- * dumps.
- */
- # define SETPROCTITLE 1 /* */
-
- /*
- * Support character set translation and 8-bit mailers between cooperating
- * sites. Intended for sites whose character set is not US ASCII. See
- * ../ida/charset.
- */
- /*# define BIT8 1 /* */
-
- /*
- d115 2
- a116 2
- /*# define _PATH_SENDMAILPID "/var/run/sendmail.pid" /* */
- # define _PATH_SENDMAILPID "/etc/sendmail.pid" /* */
- d125 5
- a129 5
- ** BSD4_4 NeXT _AIX hp9000 mips vax
- ** CRAY SYSV __convex__ hp9000s800 sequent
- ** CRAY2 UMAX alliant hpux sgi
- ** DGUX USG apollo i386 sun
- ** ISC UTEK att macII unixpc
- @
-
-
- 5.17.0.18
- log
- @Handle special case of AIX on PC/RT.
- @
- text
- @d28 1
- a28 1
- static char *conf_h_rcs_id = "@@(#)$Id: conf.h,v 5.17.0.17 1991/06/21 12:39:21 paul Exp paul $";
- d125 1
- a125 2
- ** Fixes for the latter are solicted. The RS/6000 (but not the RT) AIX
- ** restriction has been lifted.
- d127 1
- a127 1
- # if !defined(NeXT) && !defined(apollo) && !defined(ISC)&& !defined(AIX)
- d129 1
- a129 1
- # endif /* !NeXT && !apollo && !ISC && !AIX */
- d145 5
- a149 4
- ** BSD4_4 ISC USG __convex__ hp9000 macII sun
- ** CRAY NeXT UTEK alliant hp9000s800 mips unixpc
- ** CRAY2 SYSV AIX apollo hpux sequent vax
- ** DGUX UMAX _AIX att i386 sgi
- @
-
-
- 5.17.0.19
- log
- @Added support for the Berkeley hashing package ndbm replacement (HDBM).
- @
- text
- @d28 1
- a28 1
- static char *conf_h_rcs_id = "@@(#)$Id: conf.h,v 5.17.0.18 1991/06/25 05:26:29 paul Exp paul $";
- d74 1
- a74 1
- /* define only 1 of the various {N,G,S,M,H}DBM libraries */
- a78 1
- /*# define HDBM 1 /* Berkeley's hashing package (requires DBM) */
- @
-
-
- 5.17.0.20
- log
- @*** empty log message ***
- @
- text
- @d28 1
- a28 1
- static char *conf_h_rcs_id = "@@(#)$Id: conf.h,v 5.17.0.19 1991/08/14 18:28:19 paul Exp paul $";
- d74 1
- a74 4
- /*
- * Define only 1 of the various {N,G,S,M,H}DBM libraries. N.B., HDBM
- * assumes that ndbm.o was included in the libhash.a file.
- */
- @
-